package zoo.animals;

import zoo.food.Food;

/**
 * Created with IntelliJ IDEA.
 * User: platonovv
 * Date: 25.11.13
 * To change this template use File | Settings | File Templates.
 */
public interface Animal<T extends Food> {
    void voice();
    String name();
    void feed(T food) throws Exception;
    int age();
}
